﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    ///  2.8.生产过程报工接口//6号8号
    /// </summary>
    [Serializable]
    public class MESsignal2
    {
        public MESsignal2()
        {
            WorkOrderNo = "";
            SerialNo = "";
            StationNo = "";
            CatchPlaceNo = new string[1];
            TargetPlaceNo = "";
            GoodQty = "1";
            BadQty = "0";
            ManufacturingItems = new List<KeyValueInfo>();
            InspectionItems = new List<KeyValueInfo>();
            CatchData = new List<Catch>();

        }
        /// <summary>
        /// 跟踪卡号
        /// </summary>
        public string WorkOrderNo { get; set; }
        /// <summary>
        /// 产品序列号
        /// </summary>
        public string SerialNo { get; set; }
        /// <summary>
        /// 工位号
        /// </summary>
        public string StationNo { get; set; }
        /// <summary>
        /// 抓取区隔号/托盘号
        /// </summary>
        public string[] CatchPlaceNo { get; set; }
        /// <summary>
        ///放置区隔号/托盘号
        /// </summary>
        public string TargetPlaceNo { get; set; }

        /// <summary>
        ///合格数量
        /// </summary>
        public string GoodQty { get; set; }
        /// <summary>
        ///不合格数量
        /// </summary>
        public string BadQty { get; set; }

        /// <summary>
        /// 制造参数集合
        /// </summary>
        public List<KeyValueInfo> ManufacturingItems { get; set; }

        /// <summary>
        /// 检验参数集合
        /// </summary>
        public List<KeyValueInfo> InspectionItems { get; set; }
        /// <summary>
        /// 抓取物料详情
        /// </summary>
        public List<Catch> CatchData { get; set; }


    }
}
